public class AC220 {
    private int voltage=220;
    public int outPutVoltage(){
        System.out.println("输出电压"+voltage+"V");
        return  voltage;
    }
    public int getVoltage() {
        return voltage;
    }

    public void setVoltage(int voltage) {
        this.voltage = voltage;
    }
}
